<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>查看基本资料</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="views/static/layui-v2.5.6/layui/css/layui.css"  media="all">
</head>
<body id="bd" background="views/static/imgs/bg0.png" style="background-repeat: no-repeat;background-size: 100% 100%;background-attachment: fixed;">
              
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
  <legend><span style="color: white;font-family: 宋体;font-weight: bold;">查看基本资料</span></legend>
</fieldset>

<div class="site-demo-button" id="layerDemo" style="margin-bottom: 0;">
  <button data-method="notice" class="layui-btn layui-btn-radius" onclick="window.location.href='views/static/background.html	'" style="position: relative;left: 30px;"><i class="layui-icon"></i>返回</button>
</div>

<div style="position:absolute;left: 450px;top:50px;background-color: rgba(255, 255, 255, 0.6);">
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<form class="layui-form" action="" lay-filter="example">
  <div class="layui-form-item">
    <label class="layui-form-label">我的角色</label>
    <div class="layui-input-block" style="width: 230px;">
      <select name="interest" lay-filter="aihao">
        <option value="Examinee" selected>考生</option>
        <option value="Senior" disabled>学长/学姐</option>
        <option value="Administrator" disabled>管理员</option>
      </select>
    </div>
  </div>


  <div class="layui-form-item">
    <label class="layui-form-label">用户名</label>
    <div class="layui-input-block" style="width: 230px;">
      <input type="text" name="username" lay-verify="title" autocomplete="off" value="<%=session.getAttribute("uname") %>" placeholder="18206006048" class="layui-input" readonly >
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">昵称</label>
    <div class="layui-input-block" style="width: 230px;">
    <%if(session.getAttribute("customize_name")!=null){ %>
      <input type="text" name="username" lay-verify="title" autocomplete="off" value="<%=session.getAttribute("customize_name") %>" class="layui-input" readonly>
    <%} %>
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">性别</label>
    <div class="layui-input-block" style="width: 230px;">
    <%if(session.getAttribute("sex")!=null){ %>
      	<input type="text" readonly name="sex" lay-verify="title" autocomplete="off" value="<%=session.getAttribute("sex") %>" class="layui-input" >
    <%} %>
    </div>
  </div>
  

  <div class="layui-form-item">
    <label class="layui-form-label">本科院校</label>
    <div class="layui-input-block" style="width: 230px;">
    <%if(session.getAttribute("now_college")!=null){ %>
      <input type="text" readonly name="now_college" lay-verify="title" autocomplete="off" value="<%=session.getAttribute("now_college") %>" placeholder="" class="layui-input" >
    <%} %>
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">报考院校</label>
    <div class="layui-input-block" style="width: 230px;">
    <%if(session.getAttribute("furure_college")!=null){ %>
      <input type="text" readonly name="future_college" lay-verify="title" autocomplete="off" value="<%=session.getAttribute("furure_college") %>" placeholder="" class="layui-input" >
    <%} %>
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">报考专业</label>
    <div class="layui-input-block" style="width: 230px;">
    <%if(session.getAttribute("subject")!=null){ %>
      <input type="text" readonly name="subject" lay-verify="title" autocomplete="off" value="<%=session.getAttribute("subject") %>" placeholder="" class="layui-input" >
    <%} %>
    </div>
  </div>


  <div class="layui-form-item">
    <label class="layui-form-label">手机号</label>
    <div class="layui-input-block" style="width: 230px;">
      <input type="text" readonly name="username" lay-verify="title" autocomplete="off" value="<%=session.getAttribute("uname") %>" placeholder="18206006048" class="layui-input" >
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">邮箱</label>
    <div class="layui-input-block" style="width: 230px;">
      <input type="text" readonly name="username" lay-verify="title" autocomplete="off" value="<%=session.getAttribute("email") %>" placeholder="1129235765@qq.com" class="layui-input" >
    </div>
  </div>
  

  <div class="layui-form-item layui-form-text">
    <div class="layui-input-block" style="width: 350px;">
    </div>
  </div>
 
  
</form>
</div>
<script src="views/static/layui-v2.5.6/layui/layui.js" charset="utf-8"></script>
<script src="views/static/layui-v2.5.6/layui/layui.all.js" charset="utf-8"></script>
<script>
layui.use(['form', 'layedit', 'laydate'], function(){
  var form = layui.form
  ,layer = layui.layer
  ,layedit = layui.layedit
  ,laydate = layui.laydate;
  
  
  
  //监听提交
  form.on('submit(demo1)', function(data){
    layer.alert(JSON.stringify(data.field), {
      title: '最终的提交信息'
    })
    return false;
  });
 
  
});
</script>

</body>
</html>